package cn.yuan.user.interceptor;

//@Configuration
//public class WebConfigurer implements WebMvcConfigurer{
//    @Autowired
//    private LoginInterceptor loginInterceptor;
//
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(loginInterceptor)
//                .addPathPatterns("/**")
//                .excludePathPatterns("/login/**")
//                .excludePathPatterns("/user/register/**")
//                .excludePathPatterns("/fastDfs")
//                .excludePathPatterns("/verifycode/**")
//                .excludePathPatterns("/shop/settlement/**")
//                .excludePathPatterns("/swagger-resources/**","/webjars/**","/v2/**","/swagger-ui.html/**");
//
//    }
//}
